package cn.kgc.spring.shop.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyc
 * @since 2022-10-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ServiceAppoint implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 排队id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 核销码
     */
    private String number;

    /**
     * 购买时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date orderTime;

    /**
     * 核销时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date verificationTime;

    /**
     * 核销截止日期
     */

    private Date verificationEndTime;

    /**
     * 核销状态
     */
    private Integer verificationStatus;

    /**
     * 服务名称
     */
    private String serviceName;

    /**
     * 门店id
     */
    private Integer shopId;

    /**
     * 门店名称
     */
    private String shopName;

    /**
     * 门店地址
     */
    private String shopAddress;

    /**
     * 门店电话
     */
    private String shopPhone;

    /**
     * 服务价格
     */
    private Double servicePrice;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;


}
